package com.administrator.kotlindemo1.network

import com.administrator.kotlindemo1.bean.Login
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * Author: jc.lu
 * Date: 2018/1/14.
 */
interface ApiService {

    /**
     * 首页精选
     */
    @GET("userlogin?")
    fun userlogin(@Query("username") num:String, @Query("password") password: String): Observable<Login>

}